package net.dopan.pigframe.demo.service;

import net.dopan.pigframe.core.base.service.BaseService;
import net.dopan.pigframe.demo.model.entity.UserActivityParticipant;
import org.springframework.cache.annotation.CacheEvict;

public interface UserActivityParticipantService extends BaseService<UserActivityParticipant> {

    @CacheEvict(cacheNames = "USERACTIVITYPARTICIPANT",key ="'getUserActivityByUserId'+#userActivityParticipant.userId")
    Boolean addUserActivityParticipant(UserActivityParticipant userActivityParticipant);
}
